Skip to main content

All Questions

2votes
3answers
110views

How should I best structure my app when I want to sort a "parent" model by a property computed on another "child" model?

Question about OO-programming, functional programming, NoSQL, SQL databases, and software architecture Hi all, I am a intermediate-level self-taught programmer, and have been dying to get an answer ...
troglodyte's user avatar
4votes
2answers
259views

Why are dependencies typically reversed when representing complex objects as relational tables?

I'm going through some sort of phase where I over analyze and second guess every single decision I make when attempting to write software that has preventing me from getting anything done. I recently ...
plast1k's user avatar
  • 1,569
8votes
4answers
18kviews

Can anyone explain this one-to-one, one-to-many, many-to-one, many-to-many concept with respect to ORMs?

A lot of ORM sites and SQL tutorials mention these relationships as if they are obvious or to be taken for granted, but I don't fully understand why the distinctions need to be made. Consider two ...
The 29th Saltshaker's user avatar
7votes
3answers
301views

How to model and store an entity which has "one or more" values

I'll use C# to design the model to be persisted Let's suppose I have the following entity: public class Episode { public int Id { get; set; } public string Title { get; set; } public ...
Matias Cicero's user avatar
18votes
4answers
4kviews

How do I know my data is relational or object oriented in nature?

Just read these lines- If your data is object in nature, then use object stores ("NoSQL"). They'll be much faster than a relational database. If your data is relational in nature, the ...
Gulshan's user avatar
  • 9,532

close